package com.guangzi.service;


import com.guangzi.entity.Permission;
import com.guangzi.entity.Select2;

import java.util.List;

public interface RolePermissionService {

    List<Select2> listRole();
    List<Permission> listPermission();

    void saveRolePermission(String roleId,String permissionIds);
    void deleteRolePermission(String roleId);
    List<Permission> initSelectedP(String roleId);
}
